package com.codefox.entity;

import java.io.Serializable;

public class TbDrug implements Serializable {
    private Integer drugId;

    private String drugsName;

    private Double price;

    private Integer quantity;

    private String storage;

    private Integer druggistId;

    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getDrugId() {
        return drugId;
    }

    public void setDrugId(Integer drugId) {
        this.drugId = drugId;
    }

    public String getDrugsName() {
        return drugsName;
    }

    public void setDrugsName(String drugsName) {
        this.drugsName = drugsName == null ? null : drugsName.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage == null ? null : storage.trim();
    }

    public Integer getDruggistId() {
        return druggistId;
    }

    public void setDruggistId(Integer druggistId) {
        this.druggistId = druggistId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", drugId=").append(drugId);
        sb.append(", drugsName=").append(drugsName);
        sb.append(", price=").append(price);
        sb.append(", quantity=").append(quantity);
        sb.append(", storage=").append(storage);
        sb.append(", druggistId=").append(druggistId);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}